package org.yzq.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.yzq.pojo.User;

import java.util.List;

@Mapper
public interface UserMapper {

    public List<User> getInfo();

    @Insert("Insert into user values(#{username}, #{password})")
    public Integer insertInfo(@Param("username") String username, @Param("password") String password);
}
